/*
 * Payment.java
 *
 * Created on March 15, 2007, 1:58 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package edu.byu.isys413.samlam;

/**
 * Payment
 * @author Sam
 */
public class Payment extends BusinessObject{
    
    private double amount;
    private double change;
    private String type;
    /**
     * Creates a new instance of Payment
     * @param id id
     */
    public Payment(String id) {
        super(id);
    }

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
        this.setDirty(true);
    }

    public double getChange() {
        return change;
    }

    public void setChange(double change) {
        this.change = change;
        this.setDirty(true);
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
    
}
